function not defined python

visit shbcf.ru